package com.lkm.asking.service;

import com.lkm.asking.entity.Admin;
import com.lkm.asking.entity.Data;

import java.util.List;

public interface DataService {
    int  insert(Data data);
    List<Data> listData(String userName);
    int delData(int id);
    List<Data> listDataByKind(String bookmark);
    public int addOne(int id);
    int addRead(int id);
    List<Data> listDataBySchool(String school);
    List<Data> listDataByID(Integer id);
    Integer decOne(Integer id);
    Data getOne (Integer id);
    List<Data> listByName(String username);



}

